#{extends 'noTab.html' /} 
#{set title:'Invite Organizers' /}

<body>
#{if flag==true}<h4>
Done!! =)
<h4/>

  <form action="@{Application.sendOrganizerInvitation(userId,entitiesString)}" method="GET">
    <h4> An email is sent to the organizer to notify him that he is assigned to the following entities<h4/>
    ${entitiesString}
  </form>


#{/if}
<form action="@{Application.viewEntitiesOfOrg(orgId,0)}" method="POST">
<input type = submit value = AddMoreOrganizers></input>

<body/>